package com.niubility.vo;

import java.util.List;

public class ResultAndTag<T>{
    private List<T> list;
    private boolean hasNext;
    private String colName;

    public String getColName() {
        return colName;
    }

    public void setColName(String colName) {
        this.colName = colName;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    @Override
    public String toString() {
        return "ResultAndTag{" +
                "list=" + list.toString() +
                ", hasNext=" + hasNext +
                '}';
    }
}
